<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h4 {
            margin: 10px;
        }
        .box{
            overflow: hidden;
            border: 1px solid #e1e1e1;
            width: 500px;
        }
        .box img {
            float: left;
            width: 100px;
            height: 100px;
            object-fit: contain;
        }
        .info {
            float: left;
            width: calc(100% - 100px);
            padding: 0px 10px;
            box-sizing: border-box;
        }
        
    </style>
</head>
<body>
    <div class="box">
        <img src="./images/tree.png" alt="">
        <div class="info">
            <h4>熊猫</h4>
            <p>熊猫主要居住在我国四川地区，喜欢吃竹子。是我国一级保护动物。</p>
        </div>
    </div>
</body>
</html>